﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;

namespace RssNewsFeeder.ViewModel
{
    public class MainWindowViewModel:ViewModelBase
    {
        private ObservableCollection<ViewModelBase> _viewModels;

        public MainWindowViewModel()
        {
            _viewModels = new ObservableCollection<ViewModelBase>();
            NewsItemViewModel nivm = new NewsItemViewModel();
            _viewModels.Add(nivm);
            
        }
        public ObservableCollection<ViewModelBase> ViewModels
        {
            get
            {
                return _viewModels;
            }
        }
    }
}
